package com.tanhua.sso.service;

import com.tanhua.sso.pojo.User;
import com.tanhua.sso.vo.CountsVo;

public interface UserService {
    String login(String mobile, String code);

    User queryUserByToken(String token);


    CountsVo queryCounts();

    boolean sendVerificationCode(String token);

    Boolean checkVerificationCode(String code, String token);

    boolean savePhone(String token, String newPhone);
}
